import { defineStore } from "pinia";

export const useMainStore = defineStore("main", {
    state: () => ({
        isAdmin: false,
        isLogin: false,
        userName: "",
        token: "",
    }),
    // getters: {
    //     getIsAdmin() {
    //         return this.isAdmin;
    //     }
    // },
    // actions: {
    //     setIsAdmin(isAdmin) {
    //         this.isAdmin = isAdmin;
    //     }
    // }
});